package com.mcf.xiaolinju.controller;


import com.mcf.xiaolinju.entity.Bigclassify;
import com.mcf.xiaolinju.service.impl.BigclassifyServiceImpl;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author mcf
 * @since 2022-02-26
 */
@CrossOrigin
@RestController
@RequestMapping("/xiaolinju/bigclassify")
public class BigclassifyController {
    @Resource
    BigclassifyServiceImpl bigclassifyService;
    @RequestMapping("/getall")
    public List<Bigclassify>  getall(){
        return  bigclassifyService.getall();
    }

}
